@each $n in (100, 90, 80, 70, 60, 50, 40, 30, 20, 10, 0) {
    .opacity-#{$n}, .hover-opacity-#{$n}:hover {opacity: #{$n/100}}
}